However , event - driven programming still contains some tricky aspects 另一方面,事件驱动型的编程方法也包含需要技巧的方面。
Inner classes are very convenient when you are writing event - driven programs 使用内部类在编写事件驱动时的程序时用起来很方便。
Event - driven programming has a reputation of being hard to use due to the frequent need to write state machines 由于经常要编写各种状态机,事件驱动编程被公认为使用起来很费劲。
The event - based asynchronous pattern provides an event - driven programming model for performing asynchronous operations 基于事件的异步模式为执行异步操作提供了一个事件驱动的编程模型。
This design pattern is central to event - driven programming and is widely used in gui frameworks such as swing and swt 这种设计模式是事件驱动编程的核心,被广泛用于gui框架,比如swing和swt 。
Asp . net pages use a compiled , event - driven programming model that improves performance and enables the separation of application logic and user interface Asp . net页使用一种已编译的、由事件驱动的编程模型,这种模型可以提高性能并支持将应用程序逻辑同用户界面相隔离。
Event - driven programming model asp . net web pages bring to web applications the familiar model of writing event handlers for events that occur on either the client or server Asp . net网页为web应用程序带来了一种您熟悉的模型,该模型用于为客户端或服务器上发生的事件编写事件处理程序。
Even though every abstract description of sax prominently mentions that it is an event - driven interface , very few sax applications really use sax for event - driven programming 虽然对sax的所有抽象描述都强调它是一种事件驱动的接口,但极少有sax应用程序真正地将sax用于事件驱动的编程。